package com.easyj.base.exception;

/**
 * @author hjf
   *  事务处理时，若要回滚事务，需 throw 'RuntimeException'才会回滚事务，
    * 或 加上 (rollbackFor=Exception.class)才会回滚事务,
 * 
 *
 */
public class TransactionalException extends RuntimeException{

	private static final long serialVersionUID = -2394198483037816140L;

	public  TransactionalException(String message){
		super(message);
	}
	

	
	public TransactionalException(String message, Throwable cause) {
		super(message,cause);
		
		
	}

}
